← Back to issue list

snapcraft close should complain early with one argument

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1735800
Type
issue
State
open
Author
~adam-collard
Labels
Created
2017-12-01 17:50:58.638620+00:00
Updated
2018-08-28 14:46:33.663592+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I find myself accidentally omitting the snap name quite often with snapcraft and didn't notice my mistake when attempting to close a branch using: ⟫ snapcraft close edge/bump-20 Your account lacks permission to close channels for this snap. Make sure the logged in account has upload permissions on 'edge/bump-20' in series '16'. snapcraft knows that 'close' needs at least two arguments and additionally it should know that '/' is not a valid character for a snap name. By applying this knowledge, snapcraft could help me realise my typo. Bonus points if it inspects the current directory for a snapcraft.yaml and suggests the right command to me.

Evaluation history

No evaluation history available.